package com.vanrui.pcp.autocode.model.entry;

import java.util.ArrayList;
import java.util.List;

public class Entry {
	
	private String projectPath;
	private String entryName;
	private String tableName;
	private String tableAlias;
	private String comment;
	private List<Field> fields = new ArrayList<Field>();
	
	public Entry(){
	}
	
	public Entry(Entry entry){
		this.entryName = entry.getEntryName();
		this.tableName = entry.getTableName();
		this.comment = entry.getComment();
		this.fields = entry.getFields();
	}
	
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	public String getEntryName() {
		return entryName;
	}
	public void setEntryName(String entryName) {
		this.entryName = entryName;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public List<Field> getFields() {
		return fields;
	}
	public void setFields(List<Field> fields) {
		this.fields = fields;
	}

	public String getProjectPath() {
		return projectPath;
	}

	public void setProjectPath(String projectPath) {
		this.projectPath = projectPath;
	}

	public String getTableAlias() {
		return tableAlias;
	}

	public void setTableAlias(String tableAlias) {
		this.tableAlias = tableAlias;
	}

}
